import cv2,os
for img in os.listdir("masks"):
    image = cv2.imread("masks/"+img)
    image = cv2.resize(image,(1280,720))
    cv2.imwrite("masks/"+img,image)

for img in os.listdir("imgs"):
    image = cv2.imread("imgs/" + img)
    image = cv2.resize(image, (1280, 720))
    cv2.imwrite("imgs/" + img, image)
    
for img in os.listdir("test"):
    image = cv2.imread("test/" + img)
    image = cv2.resize(image, (1280, 720))
    cv2.imwrite("test/" + img, image)